<template>
<div class="layerRtb layerRtb-threecolumn">
    <three-title :title="{name:'数字类'}"></three-title>
    <div class="layerRtb-scroll thinScroll" v-scrollHeight = "0">
        <codemd url="Lesson5/docs/number.md"></codemd>
    </div>
</div>
</template>
<script>
import codemd from '../code-md'
export default {
    components: {
        codemd
    },
    data () {
        return {

        }
    },
    mounted () {
        // random
        console.log(this.$utils.random(0, 10)) // 4
        console.log(this.$utils.random(0, 10)) // 7
        console.log(this.$utils.random(0, 10)) // 2
        console.log(this.$utils.random(0, 10)) // 1
        // capitalizeAmount
        console.log(this.$utils.capitalizeAmount(1983213)) // 壹佰玖拾捌万叁仟贰佰壹拾叁元
        console.log(this.$utils.capitalizeAmount(100000)) // 壹拾万元
    },
    methods: {

    }
}
</script>
